package com.wx.lambda.ii.chapter11;

/**
 * 折扣枚举
 */
public class Discount {
    public enum Code {
        NONE(0), SILVER(5), GOLD(10), PLATINUM(15), DIAMOND(20);

        Code(int percentage) {
        }
    }

}